package com.zmovie.framework.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zmovie.framework.domain.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author lenovo
* @description 针对表【order】的数据库操作Service
* @createDate 2023-12-06 16:08:34
*/
public interface OrderService extends IService<Order> {
    /**
     * 条件分页查询
     * @param pageNo 页码
     * @param pageSize 页大小
     * @param order state date
     */
    Page<Order> pageOrder(Integer pageNo, Integer pageSize, Order order);

    List<Order> listOrderByUserId(Integer userId);
}
